from sqlalchemy import Column, String, create_engine
from sqlalchemy.orm import sessionmaker
from sqlalchemy.ext.declarative import declarative_base


class Engine:
    engine = create_engine('mysql+pymysql://root:root@localhost:3306/bookmanagment')

    DBSession = sessionmaker(bind=engine)

    Base = declarative_base()
